<?php if(isset($organisation)){?>
<?php echo form_open('edit/organisation/update'); ?>

	<input type="hidden" name="orgId" value="<?php echo $organisation->id;?>"/>
<table>
<tr><td>
	<table class="orgView" id="orgEdit">
		<tr><td><span class="descText">Nom: </span></td><td><textarea cols="40"  name="name"><?php echo $organisation->name;?></textarea></td></tr>
		<tr><td><span class="descText">Contact: </span></td><td><textarea cols="40"  name="contactName" ><?php echo $organisation->contactName;?></textarea></td></tr>
		<tr><td><span class="descText">Adresse: </span></td><td><textarea cols="40" name="adress" ><?php echo $organisation->adress;?></textarea></td></tr>
		<tr><td><span class="descText">Permanence téléphonique: </span></td><td><textarea name="telPermanence" cols="40" ><?php echo $organisation->telPermanence;?></textarea></td></tr>
		<tr><td><span class="descText">Téléphone: </span></td><td><textarea cols="40" name="phone" ><?php echo $organisation->phone;?></textarea></td></tr>
		<tr><td><span class="descText">Gsm: </span></td><td><textarea cols="40"  name="cellPhone" ><?php echo $organisation->cellPhone;?></textarea></td></tr>
		<tr><td><span class="descText">Type de transport: </span></td><td><textarea cols="40"  name="transportType" ><?php echo $organisation->transportType;?></textarea></td></tr>
		<tr><td><span class="descText">Horaires de travail: </span></td><td><textarea cols="40"  name="workHours" ><?php echo $organisation->workHours;?></textarea></td></tr>
		<tr><td><span class="descText">Prix: </span></td><td><textarea cols="40"  name="priceDesc" ><?php echo $organisation->priceDesc;?></textarea></td></tr>
		<tr><td><span class="descText">Prise en charge mutuelle: </span></td><td><textarea cols="40"  name="mutuDesc" ><?php echo $organisation->mutuDesc;?></textarea></td></tr>
		<tr><td><span class="descText">Réservation: </span></td><td><textarea cols="40"  name="requestDelay" ><?php echo $organisation->requestDelay;?></textarea></td></tr>
		<tr><td><span class="descText">Site internet: </span></td><td><span><textarea cols="40"  name="webSite" ><?php echo $organisation->webSite;?></textarea></span></td></tr>
		<tr><td><span class="descText">Email: </span></td><td><span><textarea cols="40"  name="email" ><?php echo $organisation->email;?></textarea></span></td></tr>
	</table>
	</td>
	<td valign="top" style="padding-left: 5px;">
		<input type="submit" value="Enregistrer"/>
	</td></tr>
	</table>
</form>
<?php 
	}else{
		echo "Veuillez choisir une organisation";
	} 
?>

